package main

import "fmt"
import "flag"
import "os"
// import "github.com/libp2p/go-libp2p"

func main(){
	// sourcePort := flag.Int("sp",0,"Source port number")
	// dest := flag.String("d","","Destination multiaddr string")
	help := flag.Bool("help",false,"Display help")
	// debug := flag.Bool("debug",false,"Debug generates the same node ID on every execution")

	flag.Parse()

	if *help {
		fmt.Printf("This program demonstrates a simple p2p chat application using libp2p\n\n")
		fmt.Println("Usage: Run './chat -sp <SOURCE_PORT>' where <SOURCE_PORT> can be any port number.")
		fmt.Println("Now run './chat -d <MULTIADDR>' where <MULTIADDR> is multiaddress of previous listener host.")

		os.Exit(0);
	}

	fmt.Println("Hello World!");
}